import request from '@/utils/request'

export function AddGateway(data) {
    // 新增网关
    return request({
        url: `/Channel/addGateway`,
        method: 'post',
        data,
    })
}

export function QuerGateway(data) {
    // 查询网关
    return request({
        url: `/Channel/selectAll`,
        method: 'post',
        data,
    })
}

export function EditGateway(data) {
    // 修改网关
    return request({
        url: `/Channel/updateGateway`,
        method: 'post',
        data,
    })
}
